package com.xfatm.simplebrowser.ui;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.xfatm.simplebrowser.util.ActivityManageUtils;

/**
 * Created by wenjie on 2018/3/14.
 */

public class BaseActivity extends AppCompatActivity{
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        ActivityManageUtils.addActivity(this);
    }

    @Override
    protected void onResume() {
        super.onResume();
        ActivityManageUtils.setTopActivity(this);
    }
}
